package com.itttq.gshop.bbpm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableDiscoveryClient	// 此注解表明为服务发现客户端
@EnableHystrix		    		// 断路器
@SpringBootApplication
@EnableFeignClients(basePackages="com.itttq.gshop.generic.connector")      // 启用feign进行远程调用
@EnableScheduling	// 任务调度
public class GshpBbpmApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(GshpBbpmApplication.class, args);
	}
}
